package Andrey.exercicio;


public class Array2 {

	public static void main(String[] args) {

		int [] array = new int[10];
		
		for(int i=0; i<array.length; i++){
			array[i] = i + 1 ;
			System.out.print(array[i] + " ");
		}
		
		System.out.println();
		
		for(int j=array.length - 1; j>=0; j--){
			System.out.print(array[j] + " ");
		}
		
		
	}

}
